package com.sxkf.template.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 杨玉龙
 * @since 2024-12-05 16:15:45
 */
@Getter
@Setter
@TableName("t_settled_record")
@ApiModel(value = "SettledRecord对象", description = "")
public class SettledRecord implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId("id")
    private String id;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty("后台用户id")
    @TableField("sys_user_id")
    private String sysUserId;

    @ApiModelProperty("类型（1=批发市场、2=线上店铺、3=实体店铺）")
    @TableField("type")
    private String type;

    @ApiModelProperty("店铺名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("联系人")
    @TableField("contact_name")
    private String contactName;

    @ApiModelProperty("联系电话")
    @TableField("contact_phone")
    private String contactPhone;

    //店铺信息
    @ApiModelProperty(value = "店铺分类")
    @TableField("category_id")
    private String categoryId;

    @ApiModelProperty("经营类目")
    @TableField("business_category")
    private String businessCategory;

    /**
     * 公司名称
     */
    @TableField(value = "company_name")
    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty("公司地址")
    @TableField("company_address")
    private String companyAddress;

    @TableField(value = "store_intro")
    @ApiModelProperty(value = "公司简介")
    private String storeIntro;

    @ApiModelProperty("身份证正面（国徽面）")
    @TableField("id_card_front")
    private String idCardFront;

    @ApiModelProperty("身份证反面（人像面）")
    @TableField("id_card_back")
    private String idCardBack;

    @ApiModelProperty("营业执照 ")
    @TableField("licence")
    private String licence;

    @ApiModelProperty("保证金")
    @TableField("deposit")
    private BigDecimal deposit;

    @ApiModelProperty("状态（0=待提交，1=待审核，2=审核通过，3=审核驳回）")
    @TableField("state")
    private String state;

    @ApiModelProperty("驳回原因")
    @TableField("reason")
    private String reason;

    @ApiModelProperty(value = "是否付过款(0=否 1=是)")
    @TableField("is_pay")
    private String isPay;

    /**
     * 店铺地理位置 (纬度)
     */
    @ApiModelProperty(value = "店铺地理位置 (纬度)")
    private Double latitude;

    /**
     * 店铺地理位置 (经度)
     */
    @ApiModelProperty(value = "店铺地理位置 (经度)")
    private Double longitude;


      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


}
